﻿/* 
 * Servers.cs
 * 
 * Author - Ankit Gupta and Gaurav Aggarwal
 * 
 * This file adds various components to Servers tab.
 * 
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.Text;

class Servers : TabPage
{
    ServersControl serversControl = new ServersControl();

    public Servers()
    {

        Location = new System.Drawing.Point(4, 22);
        Name = "Servers";
        Padding = new Padding(3);
        Size = new System.Drawing.Size(259, 37);
        Text = "Servers";

        Controls.Add(serversControl.datagrid);
        Controls.Add(serversControl.fileCheckBox);
        Controls.Add(serversControl.fileLabel);
        Controls.Add(serversControl.volumeCheckBox);
        Controls.Add(serversControl.volumeLabel);
        Controls.Add(serversControl.serverLabel);
        Controls.Add(serversControl.serverTextBox);
        Controls.Add(serversControl.rankLabel);
        Controls.Add(serversControl.rankTextBox);
        Controls.Add(serversControl.fileRadioButton);
        Controls.Add(serversControl.fileServerLabel);
        Controls.Add(serversControl.volumeRadioButton);
        Controls.Add(serversControl.volumeServerLabel);
        Controls.Add(serversControl.buttonAddUpdate);
        Controls.Add(serversControl.buttonRemove);
        Controls.Add(serversControl.applyButton);
        Controls.Add(serversControl.cancelButton);
    }
}